home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ Outlook 1.xpl < prev    next >
Text File  |  1999-02-07  |  1KB  |  50 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 3.1"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Internet\Outlook Express"
  5. "NAME"="Logging Options"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Log SMTP and POP3 communication"
  8. "TEXT 2"="B"
  9. "TEXT 3"="C"
  10. "TEXT 4"="D"
  11. "DESCRIPTION 1"="If the first option is activated, Outlook will log all its communication with the server(s)."
  12. "DESCRIPTION 2"="These logs can be found in your TEMP folder "Outlook Logging" (for example: C:\TEMP\Outlook Logging)."
  13. "DESCRIPTION 3"="If you don't need them anymore, you should turn this feature off to save HD space."
  14. "AUTHOR"="Xteq Systems"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
  17. "COMMENT 2"="Version 1.0"
  18.  
  19.  
  20. sPath1="HKCU\Software\Microsoft\Office\8.0\Outlook\Options\Mail\"
  21. sValue1="Logging"
  22.  
  23. Sub Plugin_Initialize 
  24.  if RegPathExists(sPath1) then
  25.  
  26.   i=RegReadValue(sPath1 & sValue1)
  27.   if i=1 then
  28.    Call SetUIElement(1,True)
  29.   end if
  30.  
  31.  else
  32.    Disable
  33.  end if
  34. End Sub
  35.  
  36. Sub Plugin_CheckData(ElementIndex)
  37. End Sub
  38.  
  39. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  40.  i=GetUIElement(1)
  41.  if i=true then
  42.   Call RegWriteValue(sPath1 & sValue1,1,2)
  43.  else
  44.   Call RegWriteValue(sPath1 & sValue1,0,2)
  45.  end if
  46. End Sub
  47.  
  48. Sub Plugin_Terminate 
  49. End Sub
  50.